<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ page import="com.conversationboard.config.*" %>
<%@ page import="com.conversationboard.model.*" %>
<%@ page import="com.conversationboard.view.MainMenu"%>

<%@page pageEncoding="UTF-8"%>
<%@page contentType="text/html;charset=UTF-8"%>

<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title><%=Configuration.getInstance().getSiteName()%></title>
	<link rel="stylesheet" type="text/css" href="<%= Configuration.getInstance().getRoot() %>/Stylesheets/<%=StyleSheets.getStyleSheetFileName(request.getCookies())%>">
</head>

<body>

	<c:if test="${display ne 'showNoMenu'}">
		<%= MainMenu.display(request.getUserPrincipal()) %>
	</c:if>


	<div class="headingblock">
		<h1><%=Configuration.getInstance().getSiteName()%></h1>
	</div>
	
	<div class="mainblock">
	
		<div class="formsection">
			<p><%= request.getAttribute("message") %></p>
			
			
			<c:if test="${display ne 'showNoMenu'}">
				<a href="<%=Configuration.getInstance().getRoot()%>/index.jsp">Return to Front Page</a>
			</c:if>
			
		</div>	   
	</div>

	<!--<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>-->
	<!--<script type="text/javascript">_uacct = "UA-1148679-1";urchinTracker();</script>--> 

</body>
</html>
